<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
{BEGIN style_block}
<style>
#height100{$id} {padding:1px;}
#toplinks_caption{$id} {padding:0px 1px;font-size:12px;font-weight:bold;}
#mastertable_block{$id} {margin-left:50px;margin-top:2px}
#toplinks_block{$id} {width:100%;padding:0px;padding-left:30px}
#toplinks_block{$id} span {padding-left:1px;}
#search_records_block{$id} { padding-left:5px;}
#search_records_block{$id} > * {vertical-align:middle;}
#search_records_block{$id} select {margin:3px 0px;}
#login_block{$id} {padding:10px; margin-bottom:3px}
#login_block{$id} * {margin-left:5px; padding:5px 0px;}
#menu_block{$id} {padding:10px;}
#menu_block{$id} * {list-style-type:none;}
#menu_block{$id} IMG {vertical-align:middle;}
#record_controls{$id} {padding:10px 10px;text-align: left;}
#record_controls{$id} span{padding-left:10px;}
#recordcontrolsadd_block{$id} {padding:10px 10px;border: solid; border-width: 1px; border-color: #C0C0C0;text-align: right;}
#grid_block{$id} {border:solid 1px #C0C0C0;}
.listIcons img.listIcon{margin:0 3px;opacity:0.3;filter:alpha(opacity=30);}
.grid_recordheader {padding-top:5px;}
.grid_recordheader a {margin:0 5px;}
body {margin:20px;padding:10px;}
.bottomPanelBorder{
	/*margin-right: 10px;*/
	padding-bottom: 18px;
	border-left: 1px solid #C0C0C0;
	border-right: 1px solid #C0C0C0;
	border-bottom: 1px solid #C0C0C0;
}
#searchform{$id}{float: left;}
#searchPanelContainer{$id}{
	width: 200px;
	float: left;
	position:absolute;
}
.searchOptions {margin-top: -10px;}
/*report styles*/
#export_links{$id} * {}
</style>
{END style_block}
{BEGIN iestyle_block}
<!--[if IE]>
<style>
.grid {height:100%;}
</style>
<![endif]-->
{END iestyle_block}
</head>
<body marginheight=0 marginwidth=0 {$bodyattrs}>
{BEGIN body}
{$header}
<div id="height100{$id}">

{BEGIN toplinks_block}
<div id="toplinks_block{$id}">
<h2><b>Socio&nbsp;Ambiental&nbsp;-&nbsp;Gestão&nbsp;Participativa</b></h2>










</div>
{END toplinks_block}

{BEGIN search_records_block} 
<div id="recordcontrolsadd_block{$id}" class="shade">
	<span id="search_records_block{$id}" class="shade">
		{BEGIN searchform}
		<!-- Search panel header for horizontal layouts -->
		<span id="searchform{$id}" align="absmiddle">
	<span id="searchPanelHeader{$id}">  
		{$simpleSearchFieldCombo}
		
		{$simpleSearchTypeCombo}
		
		{BEGIN searchform_text}
		<input type="text" {$searchfor_attrs} size="25">
		{END searchform_text}
		&nbsp;
		{BEGIN searchform_search}
			<span class=buttonborder><input type=button class="button" value="Buscar" {$searchbutton_attrs}></span> 
            
		{END searchform_search}
		&nbsp;
		{BEGIN searchform_showall}	
		<span id="showall{$id}" class="buttonborder" {$showAllCont_attrs}><input type="button" class="button" value="Mostrar Todos" {$showallbutton_attrs}></span>
		{END searchform_showall}
	</span>
	{BEGIN searchPanelTopButtons}
	<span>
		<!--&nbsp;
		<span class="buttonborder"><input class="button" type="button" id="showSrchWin{$id}" style="width: 18px; background-image: url(images/search/showWindowPin.gif);" {$showHideSearchWin_attrs} ></span>
        -->
		&nbsp;		
	<span class="buttonborder"><input class="button" type="button" id="showOptPanel{$id}" style="background-image: url(images/search/ArrowDown.png);" {$showHideSearchPanel_attrs} ></span>

	</span>
	{END searchPanelTopButtons}
</span> 
	{END searchform}

		{BEGIN details_block}
		<span  {$details_attrs}>Ítens Encontrados: <b>{$records_found}</b>&nbsp;&nbsp;&nbsp;&nbsp;</span>
	{END details_block}

	{BEGIN pages_block}
		<span {$pages_attrs}>Página <b>{$page}</b> de <b>{$maxpages}</b></span>
	{END pages_block}

		&nbsp;&nbsp;&nbsp;&nbsp;
	{BEGIN recordspp_block}	<!-- class="center_block" -->
			{$recsPerPage}
	{END recordspp_block}
	</span>
</div>
{END search_records_block} 


<!-- search panel and window -->
<div id="searchPanelContainer{$id}" class="searchPanelContainer">
{$adv_search_panel}
</div>

<div moveForSearch="move{$id}" {$marginStyle}>

{BEGIN recordcontrols_block}
<div id="record_controls{$id}">{$lookupSearchControls}
{BEGIN record_controls}
<span id="record_controls{$id}2"> 
        
        {BEGIN deleteselected_link}
<span class=buttonborder {$deleteselectedlink_span}>
<input type=button class="button" value="Elimina Selecionados" {$deleteselectedlink_attrs}>
</span>
{END deleteselected_link}

        
         </span>
{END record_controls}
</div>
{END recordcontrols_block}
<div class="message" id="usermessage{$id}">{$user_message}</div>


{BEGIN grid_block}


<table name="maintable" class="display" cellspacing=2 cellpadding=3 border=0 id="grid_block{$id}">
{BEGIN grid_header}
<thead>
<tr valign="top" {$gridHeader_attrs}>
{BEGIN record_header}

{BEGIN listIcons_column}
	<th align="center" class="blackshade" {$widthListIcons} iEditCont="all" nowrap="nowrap">&nbsp;</th>
{END listIcons_column}

{BEGIN checkbox_column}
<th width="20" class="blackshade" align="left">
{BEGIN checkbox_header}
<input type="checkbox" {$checkboxheader_attrs}>
{END checkbox_header}
</th>
{END checkbox_column}

{BEGIN sgebio_info7_dtable_column}
<th  align="center" class="blackshade"><img 
      title="Informações Complementares" src="icones/small/grey/Blocks.png" /></th>
{END sgebio_info7_dtable_column}

{BEGIN uc_nomeunidade_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
{BEGIN uc_nomeunidade_fieldheader}
<a class="defblackshade" {$uc_nomeunidade_orderlinkattrs}>Nome da Unidade</a>
{END uc_nomeunidade_fieldheader}
&nbsp;
</th>
{END uc_nomeunidade_fieldheadercolumn}
{BEGIN uc_nomecr_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
{BEGIN uc_nomecr_fieldheader}
<a class="defblackshade" {$uc_nomecr_orderlinkattrs}>CR de Vinculação</a>
{END uc_nomecr_fieldheader}
&nbsp;
</th>
{END uc_nomecr_fieldheadercolumn}
{BEGIN uc_area_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
{BEGIN uc_area_fieldheader}
<a class="defblackshade" {$uc_area_orderlinkattrs}>Area</a>
{END uc_area_fieldheader}
&nbsp;
</th>
{END uc_area_fieldheadercolumn}
{BEGIN db_possuiconselho_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
{BEGIN db_possuiconselho_fieldheader}
<a class="defblackshade" {$db_possuiconselho_orderlinkattrs}>Possui Conselho?</a>
{END db_possuiconselho_fieldheader}
&nbsp;
</th>
{END db_possuiconselho_fieldheadercolumn}
{BEGIN db_ano_formacao_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
{BEGIN db_ano_formacao_fieldheader}
<a class="defblackshade" {$db_ano_formacao_orderlinkattrs}>Ano Formação</a>
{END db_ano_formacao_fieldheader}
&nbsp;
</th>
{END db_ano_formacao_fieldheadercolumn}
{BEGIN ri_possuiregimento_fieldheadercolumn}
<th class="blackshade" align="center">&nbsp;
{BEGIN ri_possuiregimento_fieldheader}
<a class="defblackshade" {$ri_possuiregimento_orderlinkattrs}>Possui Regimento Interno</a>
{END ri_possuiregimento_fieldheader}
&nbsp;
</th>
{END ri_possuiregimento_fieldheadercolumn}
{BEGIN endrecordheader_block}
<th>&nbsp;</th>
{END endrecordheader_block}

{END record_header}
</tr>
</thead>
{END grid_header}

<tbody>
{BEGIN grid_row}
<tr valign="top" {$rowstyle} {$rowattrs}> 
{BEGIN grid_record}

{BEGIN listIcons_column}
	<td align="left" class="listIcons" iEditCont="all" valign="middle" nowrap="nowrap">
		{BEGIN edit_column}
	{BEGIN edit_link}
	<a {$editlink_attrs} title="Editar" rel="Editar" class="tooltip" ><img class="listIcon" src="images/icon_edit_new.gif" align="middle" alt="Editar" border="0"></a>
	{END edit_link}
	{END edit_column}

	
	
		{BEGIN view_column}
	{BEGIN view_link}
	<a {$viewlink_attrs} title="Exibir"><img class="listIcon" src="images/icon_view_new.gif" align="middle" alt="Exibir" border="0"></a>
	{END view_link}
	{END view_column}
	</td>
{END listIcons_column}	

{BEGIN checkbox_column}
<td align="left" valign="middle" width="20" >
{BEGIN checkbox}
<input type="checkbox" {$checkbox_attrs}>
{END checkbox}
</td>
{END checkbox_column}

{BEGIN sgebio_info7_dtable_column}
<td align="left" valign="middle" nowrap="nowrap">
  {BEGIN info7_gtcat_dtable_link}
  <a  {$info7_gtcat_dtablelink_attrs} rel="Grupo de Trabalho - Camara Técnica" class="tooltip">
  
  <img src="botoes/view.png" alt="Grupo de Trabalho - Camara Técnica" title="Grupo de Trabalho - Camara Técnica"/> 
   </a> &nbsp;
{END info7_gtcat_dtable_link}

  {BEGIN info7_mapa_dtable_link}
  <a  {$info7_mapa_dtablelink_attrs} rel="Mapa de Representatividade do Conselho" class="tooltip">
  
  <img src="botoes/view.png" alt="Mapa de Representatividade do Conselho" title="Mapa de Representatividade do Conselho"/> 
   </a> &nbsp;
{END info7_mapa_dtable_link}

  {BEGIN info7_portaria_dtable_link}
  <a  {$info7_portaria_dtablelink_attrs} rel="Dados de Portaria " class="tooltip">
  
  <img src="botoes/view.png" alt="Dados de Portaria " title="Dados de Portaria "/> 
   </a> &nbsp;
{END info7_portaria_dtable_link}

  {BEGIN info7_reunioes_dtable_link}
  <a  {$info7_reunioes_dtablelink_attrs} rel="Dados de Reuniões" class="tooltip">
  
  <img src="botoes/view.png" alt="Dados de Reuniões" title="Dados de Reuniões"/> 
   </a> &nbsp;
{END info7_reunioes_dtable_link}

  {BEGIN info7_regimento_dtable_link}
  <a  {$info7_regimento_dtablelink_attrs} rel="Dados de Regimento" class="tooltip">
  
  <img src="botoes/view.png" alt="Dados de Regimento" title="Dados de Regimento"/> 
   </a> &nbsp;
{END info7_regimento_dtable_link}
 </td>
{END sgebio_info7_dtable_column}

{BEGIN uc_nomeunidade_fieldcolumn}
<td valign="middle" {$uc_nomeunidade_style}>
{$uc_nomeunidade_value}
</td>
{END uc_nomeunidade_fieldcolumn}
{BEGIN uc_nomecr_fieldcolumn}
<td valign="middle" {$uc_nomecr_style}>
{$uc_nomecr_value}
</td>
{END uc_nomecr_fieldcolumn}
{BEGIN uc_area_fieldcolumn}
<td valign="middle" {$uc_area_style}>
{$uc_area_value}
</td>
{END uc_area_fieldcolumn}
{BEGIN db_possuiconselho_fieldcolumn}
<td valign="middle" {$db_possuiconselho_style}>
{$db_possuiconselho_value}
</td>
{END db_possuiconselho_fieldcolumn}
{BEGIN db_ano_formacao_fieldcolumn}
<td valign="middle" {$db_ano_formacao_style}>
{$db_ano_formacao_value}
</td>
{END db_ano_formacao_fieldcolumn}
{BEGIN ri_possuiregimento_fieldcolumn}
<td valign="middle" {$ri_possuiregimento_style}>
{$ri_possuiregimento_value}
</td>
{END ri_possuiregimento_fieldcolumn}

{BEGIN endrecord_block}
<td class="body2" {$endrecordblock_attrs}>&nbsp;</td>
{END endrecord_block}
{END grid_record}
</tr>
{END grid_row}
</tbody>

</table>

{END grid_block}



{BEGIN pagination_block}
<div id="pagination_block{$id}" align="center" class="toplist" >{$pagination}</div>
{END pagination_block}

{BEGIN message_block}
<div id="message_block{$id}" align=center valign=middle class=toplist><b>{$message}</b></div>
{END message_block}

</div>
{END body}
{$footer}

